package com.molichuxing.gateway.bff.order.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.service.RootService;
import com.molichuxing.gateway.bff.order.entity.response.EnterpriseScheduleVo;
import com.molichuxing.gateway.bff.order.entity.response.PaymentEnterpriseInfoVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 订单相关bff
 *
 * @author zhaopenghui
 * @date 2020年6月2日
 */
public interface OrderEnterpriseScheduleBffService extends RootService {

    /**
     * 还款管理
     *
     * @param params
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    Paged<EnterpriseScheduleVo> getEnterpriseSchedulePage(Map<String, Object> params, Integer pageNum, Integer pageSize) throws Exception;

    /**
     * 详情
     *
     * @param scheduleId
     * @return
     */
    PaymentEnterpriseInfoVo getPaymentEnterpriseInfo( Integer scheduleId);
}
